const obj={
    name:'window'
}
let name='global'
const arr=[1,2,3,4]

// console.log(isObject(obj));
// console.log(isObject(name));
// console.log(isObject(arr));

let desc=Object.getOwnPropertyDescriptor(obj,'name')
console.log(desc);
console.log(Object.getPrototypeOf(obj));
// let cloneObj=Object.create(Object.getPrototypeOf(obj),desc)
// console.log(cloneObj);